<?php /* Smarty version 2.6.19, created on 2009-02-18 12:17:18
         compiled from admin/user/list_table_form.tpl */ ?>
<div id="tableDiv"> 
    <table class="table-list" cellspacing="0">
        <tr class="table-header">
            <th width="3%" style="text-align:center"><input type="checkbox" id="allbox" class="checkbox" value="checkall" name="allbox" /></th>
            <th width="20%" align="left">Họ và tên</th>
            <th width="25%" align="left">Tài khoản truy cập</th>
            <th width="4%" align="center">H/A</th>
            <th width="4%" align="center">Xóa</th>
        </tr>
         <?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['temp']):
?>
        <tr class="<?php if ($this->_tpl_vars['id'] % 2 != 0): ?>row-odd<?php else: ?>row-even<?php endif; ?>">
            <td align="center"><input type="checkbox" class="checkbox genre-id" value="<?php echo $this->_tpl_vars['user_id']; ?>
" name="user_id[]"/></td>
            <td id="edit-user-<?php echo $this->_tpl_vars['user']['id']; ?>
"><a href="<?php echo $this->_tpl_vars['config']['app_root_url']; ?>
?module=user&act=update&id=<?php echo $this->_tpl_vars['temp']['id']; ?>
" ><?php echo $this->_tpl_vars['temp']['fullname']; ?>
</a></td>
            <td id="edit-user-<?php echo $this->_tpl_vars['user']['id']; ?>
"><a href="<?php echo $this->_tpl_vars['config']['app_root_url']; ?>
?module=user&act=update&id=<?php echo $this->_tpl_vars['temp']['id']; ?>
" ><?php echo $this->_tpl_vars['temp']['username']; ?>
</a></td> 
            <td align="center"><a href="<?php echo $this->_tpl_vars['config']['app_root_url']; ?>
?module=user&act=status&id=<?php echo $this->_tpl_vars['temp']['id']; ?>
" class="<?php if ($this->_tpl_vars['temp']['status'] == 1): ?>offline<?php else: ?>online<?php endif; ?>" title="Thay đổi trạng thái">Change</a></td>
            <td><a href="?module=user&act=delete&id=<?php echo $this->_tpl_vars['temp']['id']; ?>
" onclick="javascript: return confirm('Are you sure want to delete this record?')">Xóa</a></td>
        </tr>
        <?php endforeach; endif; unset($_from); ?> 
        
     </table>
</div>
 <div class="table-footer pkg">
 <?php if (empty ( $this->_tpl_vars['search'] )): ?> 
    <?php echo $this->_tpl_vars['page_link']; ?>

 <?php endif; ?>
</div>